<script>
import BaseConsumeItem from '../../../consumelist/components/consumemodule/BaseConsumeItem'
export default {
  extends: BaseConsumeItem,
  data() {
    return {
      iconUrl: require('../../assets/bus_card.png'),
      iconStyle: 'baseBgColorNoActive',
      descStyle: 'fontsize34'
    }
  },
  mounted() {
    this.setData()
  },
  methods: {
    setData() {
      this.tradeNo = this.data.POS_BILL_NO
      this.title = this.data.POS_BILL_TITLE
      this.datetime = this.formatData(this.data.RIDE_TIME)
      this.desc = '- ' + parseFloat(this.data.PAY_PRICE).toFixed(2)
    }
  }
}
</script>
